package com.computerroom.mapper;

import com.computerroom.pojo.Computerroom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ComputerroomMapper {
    public List<Computerroom> selectComputer(@Param("roomName")String roomName,@Param("pageBegin")Integer pageBegin, @Param("pageSize")Integer pageSize);
    public int countComputer(@Param("roomName")String roomName);

    public int insertComputer(Computerroom computerroom);

    public int updateComputer(Computerroom computerroom);

    public int deleteComputer(@Param("roomId")Integer roomId);

    public Computerroom detailComputer(@Param("roomId")Integer roomId);
}
